package com.party.business.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.party.common.annotation.Excel;
import com.party.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 文章对象 t_article
 *
 * @author ruoyi
 * @date 2025-01-07
 */
@Data
@TableName(value = "t_article")
@EqualsAndHashCode(callSuper = true)
public class TArticle extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * "标题"
     */
    @Excel(name = "标题")
    private String title;

    /**
     * "来源"
     */
    @Excel(name = "来源")
    private String source;

    /**
     * "内容"
     */
    @Excel(name = "内容")
    private String content;

    /**
     * "摘要内容"
     */
    @Excel(name = "摘要内容")
    private String zyContent;


    /**
     * "图片"
     */
    @Excel(name = "图片")
    private String image;

    /**
     * "视频"
     */
    @Excel(name = "视频")
    private String video;

    /**
     * "模块类型"
     */
    @Excel(name = "模块类型")
    private String mkType;



    /**
     * "多媒体类型"
     */
    private String dmtType;



    /**
     * "分类"
     */
    @Excel(name = "分类")
    private String flType;


    /**
     * "产品分类"
     */
    @Excel(name = "产品分类")
    private String cpType;


    /**
     * "关键词"
     */
    @Excel(name = "关键词")
    private String keyword;

    /**
     * "发布时间"
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date pubDate;

    /**
     * "发布人"
     */
    @Excel(name = "发布人")
    private String pubPerson;

    /**
     * "国家"
     */
    @Excel(name = "国家")
    private String country;


    /**
     * "年度动态类型"
     */
    @Excel(name = "年度动态类型")
    private String nddtType;




    /**
     * "是否原创文章"
     */
    @Excel(name = "是否原创文章")
    private String isYc;

    /**
     * "是否推荐"
     */
    @Excel(name = "是否原创文章")
    private String isTj;


    /**
     * "是否热门"
     */
    @Excel(name = "是否热门")
    private String isRm;


    /**
     * "是否首页业务指南"
     */
    @Excel(name = "是否首页业务指南")
    private String isSyzd;





    /**
     * "是否顶部Banner
     */
    @Excel(name = "是否顶部Banner")
    private String isBanner;
    /**
     * "是否顶部Banner大图
     */
    @Excel(name = "是否顶部Banner大图")
    private String isBannerBig;





    /**
     * "附件文件"
     */
    @Excel(name = "附件文件")
    private String fjFile;

    /**
     * "浏览量"
     */
    @Excel(name = "浏览量")
    private String viewNum;



    private String delFlag;

    /**
     * "分类名称"
     */
    @TableField(exist = false)
    private String flTypeName;


    /**
     * "国家名称"
     */
    @TableField(exist = false)
    private String countryName;


    /**
     * "产品分类名称"
     */
    @TableField(exist = false)
    @Excel(name = "产品分类名称")
    private String cpTypeName;

    /**
     * "年度"
     */
    @TableField(exist = false)
    @Excel(name = "年度")
    private String year;


    /**
     * "是否是动态热门"
     */
    @TableField(exist = false)
    @Excel(name = "是否是动态热门")
    private String isDtrm;



    /**
     * "分类字符窜"
     */
    @TableField(exist = false)
    @Excel(name = "分类字符窜")
    private String flTypestr;
    /**
     * "多媒体类型str"
     */
    @TableField(exist = false)
    @Excel(name = "多媒体类型str")
    private String dmtTypestr;

    /**
     * "cptypestr"
     */
    @TableField(exist = false)
    @Excel(name = "cptypestr")
    private String cptypestr;



    /**
     * "检索类型  1标题  2 内容"
     */
    @TableField(exist = false)
    @Excel(name = "检索类型")
    private String selectType;
















}
